TsgDXFLeader
Unit: DXFConv
Description
This class defines a leader line (entity LEADER) is an object that can be composed of an arrowhead attached to splines or straight line segments. In some cases, a short horizontal line, called a hook line, dogleg, or landing, connects text and feature control frames to the leader line. The leader start point can be associated with a location on an object. If the object is relocated, the arrowhead remains attached to the object and the leader line stretches, but the text or feature control frame remains in place.
Syntax
TsgDXFLeader = class(TsgDXFSpline)
Properties
Properties | Description |
---|---|
Arrowhead | The property gets or sets a value indicating whether arrowhead of the TsgDXFLeader entity is enabled. |
ArrowScale | The property sets or gets scale parameter for arrow of the TsgDXFLeader entity (Dim scale overall in AutoCAD terms). |
ArrowSize | The property gets or sets a size of leader arrowheads. |
Insert | The property gets or sets a type of leader arrowheads. |
IsSpline | The property gets or sets the arrowhead type for leader. |
Derived from TsgDXFSpline | Description |
---|---|
BeginningTangent | The property sets or gets start tangent. |
ControlPoints | The property realizes the indexed access to all control points. |
Controls | The property contains list of control points as pointers to the TFPoint type. |
EndingTangent | The property sets or gets end tangent. |
Fit | The property contains list of fit points as list of the TsgDXFVertex class objects. |
FitPoints | The property realizes the indexed access to all fits point. |
IsByAngles | The property defines what way spline is built. |
Knots | The property contains list of knot values as single type values represented as pointers. |
Length | The property indicates length of a spline. |
Derived from TsgCADBasePolyline | Description |
---|---|
Closed | The property gets or sets a value indicating whether a polyline is closed. |
DottedPoints | The property gets a point specified by Index parameter from the TsgCADBasePolyline.DottedSingPts list. |
DottedSingPts | The property gets coordinates of the polyline points as a list of pointers to TFPoint.If a value of IsSolid property is True, DottedSingPts contains a value of Polypoints property. |
Flags | The property gets or sets a value of polyline flag (bit-coded), default is 0. |
IsPolyZThickness | The property gets a value indicating whether the polyline has thickness on OZ axis. |
Points | The property gets a point from the PolyPoints list by its index. |
PolyPoints | The property gets a list of points that belong to the polyline. |
Derived from TsgDXFPenLine | Description |
---|---|
Extrusion | The property indicates direction to local axis z. |
LineType | The property returns line type the TsgDXFLineType entity. |
Point | The poroperty contains coordinates for the base point. |
ZThick | The property contains offset by Z axis (Thickness in AutoCAD terms). |
Derived from TsgDXFPenEntity | Description |
---|---|
Pen | The property for reaching the TPen object, used for drawing. |
Derived from TsgDXFEntity | Description |
---|---|
Box | The property determines the 3d box embraced the entity. |
Color | The property gets or sets entity color. |
ColorCAD | The property gets or sets a color for drawing entities. |
Complex | The property determines whether a entity is populated with child entities. |
Converter | The property returns the TsgDXFConverter class object. |
Count | The property indicates the total number of child entities. |
Entities | The property lists all child entities. |
EntType | The property indicates type of an entity. |
Handle | The property is used for finding entity links. |
Layer | The property points to layer, containing given primitive if this layer is given. |
LineType | The property sets and gets line type for an entity. |
LineTypeScale | The property sets and gets the Linetype scale. |
LineWeight | The property sets or gets line weight in millimeters. |
PaperSpace | The property indicates Model Space and Paper Space entity segregation. |
SrcEnd | The property indicates end position of the entity description in the source CAD file. |
SrcStart | The property indicates start position of the entity description in the source CAD file. |
Visibility | The property sets and gets entities visibility. |
Visible | The property determines whether the component appears onscreen. |
Methods
Methods | Description |
---|---|
Create | Creates an instance of the TsgDXFLeader object. |
Destroy | Frees up all internal objects before destroying this object. |
Derived from TsgDXFSpline | Description |
---|---|
AssignEntity | The method copies properties of source entity to current entity. |
ControlCount | The method returns count of the control points of the spline. |
FitCount | The method returns number of the fits points. |
GetPoints | The method calls the Proc procedure with all controls point if spline. |
Derived from TsgCADBasePolyline | Description |
---|---|
DottedCount | The method returns a quantity of DottedSingPts in the TsgCADBasePolyline object. |
GetBoxPoints | The method see the TsgDXFEntity.GetBoxPoints method. |
PointCount | The method returns a quantity of PolyPoints in the TsgCADBasePolyline object. |
Derived from TsgDXFPenLine | Description |
---|---|
GetThickness | The method returns entity's thickness. |
SetLWeight | The method call SetLWeight to change line weight of the entity. |
Derived from TsgDXFEntity | Description |
---|---|
AddEntity | The method adds a new child entity. |
Clone | The method copies properties of source entity to current entity (include Handle ). |
Draw | The method generates the OnDraw event. |
EntName | The method returns an entity name. |
SetLType | The method sets line type of the entity. |
Events
Derived from TsgDXFEntity | Description |
---|---|
OnDraw | The event occurs when the Draw method is called. |